package com.bdqn.springboot.config;

import com.bdqn.springboot.entity.User;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SrpingConfig {
    @Bean
    public User nnn(){
        User user=new User();
        user.setUname("赵茜");
        user.setAge(22);
        return user;
    }
}
